var assert = require('assert');
var should = require('should');
var util = require('util');
var _ = require('lodash');
var unionHelpModel = require('../../app/models/unionHelpModel.js');
var config = require('../config');

suite('测试unionHelpModel', function () {
    var help_model;
    setup(function (done) {
        unionHelpModel.findUnionHelpList(10019, function (err, model) {
            assert.equal(err == null, true);
            console.log('msg:', model);
            done();
        });
    });

    //suite('unionHelpModel', function () {
    //test('添加已经领取vip等级', function (done) {
    //var list = {
    //union_id: 10019,
    //role_id: 10568,
    //job: 1,
    //share_id: 20101,
    //end_time: 1,
    //help_type: 1,
    //lv: 1,
    //name: 'xiaoxu',
    //help_max_num: 50
    //};
    //unionHelpModel.createHelp(list);
    //unionHelpModel.refreshHelpData(list, done);
    //console.log('help_model:', help_model);
    //console.log('list:', list);
    //unionHelpModel.findUnionHelpList(10019, );
    //});
    //});
});
